equals

open operator override fun equals(other: Any?): Boolean(source)

The JS SDK creates a new object per read, so snapshots are equal when they are of the same document and data.